package cn.com.nes.mybatis.callcenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 *
 */
@TableName(value = "master_info")
@Data
public class MasterInfo implements Serializable {

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户id
     */
    @TableField(value = "clientele_id")
    private Long clienteleId;

    /**
     * 机构id
     */
    @TableField(value = "company_id")
    private Long companyId;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 身份证号
     */
    @TableField(value = "idcard")
    private String idcard;

    /**
     * 是否删除  1 表示删除，0 表示未删除
     */
    @TableField(value = "is_delete")
    private Integer deleted;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Long gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Long gmtModified;

    /**
     * 来源
     */
    @TableField(value = "source")
    private String source;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}